class LoginToken {
  String? token;
  String? refreshToken;
  String? tokenHead;

  LoginToken({this.token, this.refreshToken, this.tokenHead});

  factory LoginToken.fromJson(Map<String, dynamic> json) => LoginToken(
        token: json['token'] as String?,
        refreshToken: json['refreshToken'] as String?,
        tokenHead: json['tokenHead'] as String?,
      );

  Map<String, dynamic> toJson() => {
        'token': token,
        'refreshToken': refreshToken,
        'tokenHead': tokenHead,
      };
}
